progress dialog fixes