changed error messages in dialogs