Changing modality of windows?

I can select “modal Dialog” in the inspector, but that gives me an awkward looking window with no titlebar.

There’s “Frame, type” and i can select “floating window” to get a normal toolwindow with small titlebar.

But I’d like that window to be shown modal.

I tried .Showmodal, and .showmodalwithin but that doesn’t do anything, just shows the window and you can still mess with the background window that called it.

Edit:

Seems I can use moveable modal, still would like a toolwindow sized titlebar, big titlebar makes small windows look clumsy.

Also, modal windows doesn’t seem to implement the normal clues of a modal window, like flashing and ping sound on windows.