dialog crashes heroku