add ProgressDialogs when getting data from the API