private KongaDialog createDialog(UiProvider ui) {
KongaDialog dialog = new KongaDialog(UiUtils.getActiveWindow(), "File name conflict");
dialog.standardLayout(ui, KongaDialog.CONTINUE_CANCEL);
dialog.setContinueButtonAsDefault();
dialog.setFocusedComponent(ui);
Binding binding = new ComponentEnabledBinding(model, XsdGeneratorModel.VALID_SETTINGS, dialog.getContinueButton());
binding.syncUi();
return dialog;
}