improved editable row directive implementation