add progress dialog to settings page