As far as I know, there is no 100% reliable way to do this (unless you provide a custom fake title bar). You can provide certain hints but it's up to the underlying window system whether they are respected or not. I suggest you take a look at the window flags example. On the other hand, you can always ignore close events to prevent dialog from closing.
Yes.By the way, the dialog can still send and receive signals when it's modal, right?
Bookmarks