I have a modal dialog which does exactly what I want it to do after I press the OK button, but the task that is done in response to the OK button take a while and all this time the dialog persists. When the task completes, the dialog goesa way as it should. I'm just worried that when I reliease the app to other usesrs there is a chance that someone could press OK multile times while it's off performing the task.
Is there a way to make the dialog disappear quickly after OK is pressed, whiel the task is being done?
Thanks,
Charlie