Fix progress dialog.