Changed Exceptions to Dialogs.