Silently log exception if triggered in progressDialog.dismiss()

I'm not sure why this exception happens, and it's pretty hard to
reproduce. It's nothing important (and particularly not user-facing), so
we'll just log the error in the hopes that we get more information from
the logs when it does happen.

Closes #385.