Unbind the progress dialog's idle handler when it's unneeded