editor: allow hierarchy of context menus