add an error dialog
Merge pull request #791 from dart-lang/devoncarew_error_dialog

add an error dialog