removes boilerplate css from main.css and tweaks modal templates.