added a few error dialogs