Pressing escape will exit the editor.