Fix for bug with new progress dialogs

Bug fix- Changed dismiss() to dismissAllowingStateLoss(), so that dialog can be dismissed at end of AsyncTask without causing crash. (This is how I had it for a long and at some point switched for experimentation purposes, and forgot to switch back).