Dismisses the ProgressDialog in Activity's onDestroy so that it
can't be dismissed after the activity has been destroyed