Create error dialog for easy debugging