Worked on the progress dialog.