Add submenu functionality