Hi Spec,
It sounds like you need a delay (or timer) somewhere - but _not_ where you've indicated. Delaying the propagation of T/F after the dialog will be no different than waiting a little longer before pressing OK/Cancel. It sounds like you want to initiate a "state" lasting for 50ms, once the dialog is finished - the implication of your statements is that some other process (not shown) is contingent on the dialog. What happens after`the user answers the dialog? Are you doing a data-acquisition?
Cheers
When they give imbeciles handicap-parking, I won't have so far to walk!