A child window (dialog) is always above its parent. If you want another stack order, don't pass a parent to the dialog (of course then you won't be able to make the dialog modal to the other window).