permissions window cannot be closed in unsaved states anymore.