Added creating menu items from popup