Thanks CW! I tried your approach, but the dialog window doesn't disappear until I press the mouse button. When I unpause, the dialog window won't reappear unless I click the mouse button again. This could be due to the way I coded my pause function. I will look into that!