minor changes for progressdialog