added SubMenuEntry to manage hierarchical menus