docs: private void createQuickBox() {
  
          if (hasQuickSearch() || hasQuickFilter()) {
              m_quickSearch = new CmsTextBox();
              //   m_quickFilter.setVisible(hasQuickFilter());
              m_quickSearch.addStyleName(DIALOG_CSS.quickFilterBox());
              m_quickSearch.setTriggerChangeOnKeyPress(true);
              String message = hasQuickFilter()
              ? Messages.get().key(Messages.GUI_QUICK_FINDER_FILTER_0)
              : Messages.get().key(Messages.GUI_QUICK_FINDER_SEARCH_0);
              m_quickSearch.setGhostValue(message, true);
              m_quickSearch.setGhostModeClear(true);
              m_options.insert(m_quickSearch, 0);
              m_searchButton = new CmsPushButton();
              m_searchButton.setImageClass(hasQuickFilter() ? I_CmsButton.FILTER : I_CmsButton.SEARCH_SMALL);
              m_searchButton.setButtonStyle(ButtonStyle.FONT_ICON, null);
              m_searchButton.getElement().getStyle().setFloat(Style.Float.RIGHT);
              m_searchButton.getElement().getStyle().setMarginTop(4, Unit.PX);
              m_options.insert(m_searchButton, 0);
              m_quickSearch.addValueChangeHandler(this);
              if (hasQuickFilter()) {
                  m_filterTimer = new Timer() {
  
                      @Override
                      public void run() {
  
                          getTabHandler().onSort(
                              m_sortSelectBox.getFormValueAsString(),
                              m_quickSearch.getFormValueAsString());
                          onContentChange();
                      }
                  };
                  m_searchButton.setTitle(message);
              } else {
                  m_quickSearch.addKeyPressHandler(new KeyPressHandler() {
  
                      public void onKeyPress(KeyPressEvent event) {
  
                          if (event.getNativeEvent().getKeyCode() == KeyCodes.KEY_ENTER) {
                              quickSearch();
                          }
                      }
                  });
                  m_searchButton.addClickHandler(new ClickHandler() {
  
                      public void onClick(ClickEvent arg0) {
  
                          quickSearch();
                      }
                  });
                  m_quickSearchRegistration = getTabHandler().addSearchChangeHandler(
                      new ValueChangeHandler<CmsGallerySearchBean>() {
  
                          public void onValueChange(ValueChangeEvent<CmsGallerySearchBean> event) {
  
                              m_quickSearch.setFormValueAsString(event.getValue().getQuery());
                          }
                      });
                  m_searchButton.setTitle(Messages.get().key(Messages.GUI_TAB_SEARCH_SEARCH_EXISTING_0));
              }
          }
      }