Remove modal contents before fading out

YouTube videos used to keep on playing after closing window.
Rename files, add minified, preventDefault