arbitrary support for tree popup menus