code: public static WaitingDialog showDialog(WindowBasedTextGUI textGUI, String title, String text) {
          WaitingDialog waitingDialog = createDialog(title, text);
          waitingDialog.showDialog(textGUI, false);
          return waitingDialog;
      }
docs: Creates and displays a waiting dialog without blocking for it to finish
  @param textGUI GUI to add the dialog to
  @param title Title of the waiting dialog
  @param text Text to display on the waiting dialog
  @return Created waiting dialog