added progress dialog while photo is being saved to Parse