private void closeHelpWindows() {
        if (controller.isGrammarHelpWindowVisible()) {
            controller.getGrammarHelpWindow().dispose();
        }

        if (controller.isInitialisationHelpWindowVisible()) {
            controller.getInitialisationHelpWindow().dispose();
        }
    }