toFront() question

A user has complained that a dialog box put up by my app on windows doesn’t appear in front of all other app windows on launch. The dialog is shown using runModalLoop(), which according to the header should bring the window to the front.

Is there something else I should do to make sure my dialog is seen when my app is run?

runModal will bring it to the front, but maybe some other bit of code is then popping one of your other ones to the front afterwards?