Hi Jean,
It is supposedly an easy thing to do, but alas, the SDK does not provide an easy way for us.
basically it will involves handling a few events such as GotFocus, Before_Click event to check if there is a modal form, if there is, return the focus to the modal form.
It is a bit tedious.
If your modal form is simple, you might want to try this
Regards
Edy