This method is called after the copy menu item, and before the paste item is inserted into the edit-menu.