panel.putClientProperty("contentTitle", contentTitle); // NOI18N
panel.putClientProperty("DialogDescriptor", dd); // NOI18N
final Dialog dialog = DialogDisplayer.getDefault().createDialog(dd);
dialog.addWindowListener(new DialogBoundsPreserver(GitModuleConfig.getDefault().getPreferences(), "git.commit.dialog")); // NOI18N
dialog.pack();
dialog.setVisible(true);
if (dd.getValue() == commitButton) {