Just side note: user may be surprised when some operation is stopped after pressing the Close button on the progress dialog.