ron
stage.setOnCloseRequest(event -> stage.hide());
FX.primaryStage.setOnCloseRequest({ event -> FX.primaryStage.hide() })