Hi.

I've got a popup MC for displaying a message or asking a yes/no question
that has to do the following on an event:
- show and take focus (disabling the controls in the main screen)
- wait for click on [Ok] or [Yes] / [No] button
- hide and give back focus to main screen

I don't want to inlude if(!somePopupHasFocus)'s and stuff. Is there a
standard / what is the common, or easiest way to achieve this?

Thanks,

- John