Closes the editor. You are prompted if you would like to save documents if they contain unsaved changes.