Add a ProgressDialog for sync