Do not use editor.is_modified for anything other than saving
Add actions to close editor tabs