changed modal code for minification/Heroku