How to prevent popup from closing?

I created a popup spinner when running my task. However, when user click on the anywhere, the popup will close before the task end. Any idea how to prevent the popup from closing until my task is end?

Example:
http://jsfiddle.net/rQExG/
Sign In or Register to comment.