title: ComboBox in modal window freezing my JavaFX application
body: <p>I want to create modal "Options" window for my app. I have a ComboBox on it and I want to populate it in initialize() method. But when I run my program and go to this window, my ComboBox isn't populated and when I click on it application freez and I must close program.
  I haven't any errors on console in Eclipse.</p>
  
  <p>But when I run "Options" window directly as main application window, everything is OK, so bug must refer to fact, that my window is modal.</p>
  
  <p>This code createing my window:</p>
  
  <pre><code>@FXML protected void handleBtnOptionsClick(MouseEvent event) {
  
      TabPane root;
      try {
          root = (TabPane)FXMLLoader.load(getClass().getResource("OptionsWindow.fxml"));
          Stage s = new Stage();
           s.initModality(Modality.APPLICATION_MODAL);
           Scene scene = new Scene(root);        
           s.setScene(scene);
           s.initOwner(s.getScene().getWindow());
           s.show();
      } catch (IOException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
      }
  
  }
  </code></pre>
  
  <p>I will be very grateful for your help :)</p>