make the object popup menus functional
trying to figure out why the popup types overwrite each other