Why does the following program drop out before the second showln?
I guess I'm missing something, but not sure what.

If this is expected behaviour, is there a way of creating a non-UI program like this with a single call to a modal dialog half way through the non-UI stuff?

Development Environment is 14.1

Code:
//save this as test-modal.src, compile and then run.
Use Windows.pkg

Object oTest is a ModalPanel
    Set Size to 40 100 
    Set Label to "I dont understand"
    Object oButton is a Button 
        Set Size to 18 90
        Set Location to 5 5 
        Set Label to "press me 2 close"
        Procedure onClick
            Send Close_Panel
        End_Procedure
    End_Object
End_Object


Showln "entering"
Send Popup_Modal to oTest
Showln "exiting"
Error 500 "stop"