MooEditable example with attach/detach functions