Disable toolbar when no file is open