to show another window modally you ```present``` the dialog window and call the method ```set_transient_for``` passing the parent window.
```
let d = DialogWindow::new():
d.set_transient_for(Some(parent_window));
d.present();