In this case, all the commands should be disabled, since you can't close other files.