changed error dialogs