editor: Prevent several keypress events for SELECT_DESTINATION mode