added progresbar dialog