progress dialog and error alert dialogs working