callback to open submenu