DynamicContributionItem: support for submenus