This method is called after the close menu item is inserted and before the quit menu item is inserted into the menu, file-menu.