Add support for submenu in graphiti context menu