click-on-edit directive