added progress dialog when searching for locations