Dialog transitions safari7

Removes unused CSS and fixes transitions in Safari 7.