Rename http exceptions.
Use askOkCanel dialog and revert changes to errorDialog.
Add action to ok button in okcancel.