Changes doe for progress dialog

Changes doe for progress dialog