Disable the edit menu items if no file is opened.