ui/src/main/java/thredds/ui/catalog/CatalogChooser.java
public JDialog makeDialog( RootPaneContainer parent, String title, boolean modal) {
    this.parent = parent;
    return new Dialog( parent, title, modal);
  }
public JDialog makeDialog( RootPaneContainer parent, String title, boolean modal) {
    this.parent = parent;
    return new Dialog( parent, title, modal);
  }
Wrap this in a JDialog component.

@param parent      JFrame (application) or JApplet (applet) or null
@param title       dialog window title
@param modal     is modal