add enter and escape keyup event on editable inputs