wx.STAY_ON_TOP and dialog.ShowModal()

Hi List,

I have a Frame that is created with the wx.STAY_ON_TOP flag. I'd like to give an alert to the user using a dialog. But if I do:

d = wx.MessageDialog( self, foo, bar )
d.ShowModal()

The on OS X I get the spinning beachball (I think both are fighting to be on top) and I have to kill the process.

Is it possible to do this?

System: OS X 10.5, Python 2.5, wxPython 2.8.9.2

   -k.