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

@param parent put dialog on top of this, may be null
@param title  dialog window title
@param modal  is modal