code: public static DetailsDialog showErrorDialog (Stage stage, String text, String details) {
  		DetailsDialog dialog = new DetailsDialog(text, Text.ERROR.get(), details);
  		stage.addActor(dialog.fadeIn());
  		return dialog;
  	}
docs: Dialog with title "Error", provided text, and provided details available after pressing 'Details' button.