code: public void showForTargetFilter(final Long tfqId) {
          this.tfqId = tfqId;
          final TargetFilterQuery tfq = targetFilterQueryManagement.get(tfqId)
                  .orElseThrow(() -> new EntityNotFoundException(TargetFilterQuery.class, tfqId));
  
          final VerticalLayout verticalLayout = initView();
  
          final DistributionSet distributionSet = tfq.getAutoAssignDistributionSet();
          final ActionType actionType = tfq.getAutoAssignActionType();
  
          setInitialControlValues(distributionSet, actionType);
  
          // build window after values are set to view elements
          final CommonDialogWindow window = new WindowBuilder(SPUIDefinitions.CREATE_UPDATE_WINDOW)
                  .caption(i18n.getMessage(UIMessageIdProvider.CAPTION_SELECT_AUTO_ASSIGN_DS)).content(verticalLayout)
                  .layout(verticalLayout).i18n(i18n).saveDialogCloseListener(this).buildCommonDialogWindow();
          window.setId(UIComponentIdProvider.DIST_SET_SELECT_WINDOW_ID);
  
          window.setWidth(40.0F, Sizeable.Unit.PERCENTAGE);
          UI.getCurrent().addWindow(window);
          window.setVisible(true);
      }
docs: Shows a distribution set select window for the given target filter query
  
  @param tfqId
  target filter query id