Pressing Esc while editing cancels editing.