dialogService.getStage().removeEventHandler(WindowEvent.WINDOW_SHOWN, this);
}
});
notifyPreloader(new ProgressNotification(0.5d));
dialogService.start();
notifyPreloader(new StateChangeNotification(
StateChangeNotification.Type.BEFORE_START));
notifyPreloader(new ProgressNotification(0.75d));
} else {
// start the main GUI
primaryStageStart(stage);