code: @SuppressWarnings("unused")
      protected static CmsGalleryDialog createDialog(
          I_CmsGalleryConfiguration configuration,
          I_CmsGalleryHandler galleryHandler) {
  
          CmsGalleryDialog result = new CmsGalleryDialog(galleryHandler);
          new CmsGalleryController(new CmsGalleryControllerHandler(result), configuration);
          return result;
      }
docs: Creates a new gallery dialog and instantiates the controller for it.<p>
  
  @param configuration the gallery configuration
  @param galleryHandler the gallery handler
  
  @return the gallery dialog instance