code: void closeAllChoices() {
  
          if (m_choice != null) {
              m_choice.hide();
          }
          m_choice = null;
          for (CmsChoiceSubmenu submenu : new ArrayList<CmsChoiceSubmenu>(m_submenus)) {
              removeSubmenu(submenu);
          }
      }
docs: Closes all currently active submenus and the root menu.<p>