click-to-edit directive passes event