public JDialog createNewJDialog(String title, int width, int height) {
        JDialog dialog = new JDialog(owner);

        dialog.setTitle(title);
        dialog.setSize(new Dimension(width, height));
        dialog.setLocationRelativeTo(owner);
        dialog.setResizable(false);
        dialog.setVisible(true);

        return dialog;
    }