code: function _Overlay_hideCommands(commands, immediate) {
                      var showHide = this._resolveCommands(commands);
                      this._showAndHideCommands([], showHide.commands, immediate);
                  }
docs: Hide commands