Within exec() meaning that you have overwritten exec() or that you call hide() in a slot in the dialog?

Cheers,
_