Show error dialog on exception.