code: public static <T> ConfirmDialog<T> showConfirmDialog (Stage stage, String title, String text, String[] buttons, T[] returns, ConfirmDialogListener<T> listener) {
  		ConfirmDialog<T> dialog = new ConfirmDialog<T>(title, text, buttons, returns, listener);
  		stage.addActor(dialog.fadeIn());
  		return dialog;
  	}
docs: Dialog with title, text and n amount of buttons. If you need dialog with only buttons like Yes, No, Cancel then
  see {@link #showOptionDialog(Stage, String, String, OptionDialogType, OptionDialogListener)}.
  <p>
  @param title dialog title.
  @param listener button listener for this dialog. This dialog is generic, listener type will depend on
  'returns' param type.
  @since 0.7.0