docs: def add(mode_id: str) -> list:
      """
      Adds the specified mode identifier to the list of active modes and returns
      a copy of the currently active modes list.
      """
  
      if not has(mode_id):
          _current_modes.append(mode_id)
      return _current_modes.copy()