public DialogWindowView(String title) {
        dialog = new JDialog((JFrame) null, title);
        dialog.setResizable(false);
        dialog.setSize(200, 100);
        dialog.setLocation(MainWindowView.WIDTH/2, MainWindowView.HEIGHT/2 - dialog.getHeight()/2);
        init();
        addActionListeners();
    }