I have the same problem, and I tried your solution. but the form does not become modal, the parentform can still be selected and closed.
Any other suggestions ?
(Sorry if I am thread-necromancing with this, it's just that I did a search and this thread came up)
Thanks in advance,
Ben Blok.