Do not allow me to close an unsaved file