Add code to copy the data and hook it up to a menu item.