Add support for submenus in dropdowns