Changes for progress dialog

Changes for progress dialog