Modal dialog notification

In my cross platform application I have an alert modal dialog to inform the user of an event. I show it using Window.ShowModalWithin()
If the main window of my application is minimized in the task bar, I get no notifications of the alert until I explicitly restore the window.
Is this normal behavior for Windows?

I believe that this is by design, focus-stealing is not allowed unless the currently focused window allows it (most don’t.)

You can flash the taskbar button at the user to get their attention, though:

   Declare Function FlashWindow Lib "User32" (HWND As Integer, invert As Boolean) As Boolean
   Call FlashWindow(MyWindow.Handle, True) ' flash once 

Well I solved restoring the window if minimized.
Thanks anyway.