Always attach the 'edit event' event handler