private void rebuildModelAndSelectScopeOnSuccess(@Nullable Object selection) {
    this.selection = selection;
    var model = scopeModel;
    if (model != null) {
      scopeModel.refreshScopes(null);
    }
  }
private void rebuildModelAndSelectScopeOnSuccess(@Nullable Object selection)