Allows aborting of editor