private static JDialog dialogRaw(String title, final Window frame,
			ModalityType modal) {
		final JDialog dialog = new JDialog(frame, modal);
		dialog.setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
		dialog.setTitle(title);
		return dialog;
	}