Change z arrangement of different modal subwindows

Hello everyone,

I’ve two modal windows. One is already existent while the other is created. However, the newly created window is set
behind
the first subwindow.

How am I able to set the z index of the subwindows of the current UI?

Thanks and regards