testing if dismissing progress dialog in onDetachedFromWindow helps