private KongaDialog createDialog(Component owner) {
BorderLayoutBuilder layout = new BorderLayoutBuilder(0, 10).withEmptyBorder(10, 10, 10, 10);
layout.center(Alert.getDisplayMessage(message));
layout.west(layoutTypeIcon());
layout.south(layoutButtons());
Window window = (owner != null ? SwingUtilities.getWindowAncestor(owner) : UiUtils.getActiveWindow());
KongaDialog dialog = new KongaDialog(window, title);
layout.asContentPaneFor(dialog);
return dialog;
}