WebDialog cascade zIndex problem

Hi there,

Using Xojo r3.3, running OSX 10.9

I have multiple webdialog containing webontainers and it happens that a webdialog is called from another webdialog.
Structure can be viewed as

  • webpage
    … webdialog1
    … webcontainer1
    … webdialog2

I have multiple containers showing webdialogs, creating a kind of cascade

Sometimes, webdialog2 is open behind webcontainer1.

I tried changing webdialogs zindex (using “self.zindex = parent.zindex + 1” in webdialog shown event) but then I have other side effects on other webdialogs or webcontainers.

What can I do to keep always open on top of other controls ?

Thanks for your help.