code: public static VisDialog showOKDialog (Stage stage, String title, String text) {
  		final VisDialog dialog = new VisDialog(title);
  		dialog.closeOnEscape();
  		dialog.text(text);
  		dialog.button(ButtonType.OK.getText()).padBottom(3);
  		dialog.pack();
  		dialog.centerWindow();
  		dialog.addListener(new InputListener() {
  			@Override
  			public boolean keyDown (InputEvent event, int keycode) {
  				if (keycode == Keys.ENTER) {
  					dialog.fadeOut();
  					return true;
  				}
  				return false;
  			}
  		});
  		stage.addActor(dialog.fadeIn());
  		return dialog;
  	}
docs: Dialog with given text and single OK button.
  @param title dialog title