Add support for submenu in graphiti context menu #766