Refactor component styles

Continues on from #4401

- Reformats the Sass to match our new style (property order, comments, & white space)
- Changes the modal container to a class from an ID (and adjust tests)
Merge pull request #4441 from PaulAdamDavis/cleanup-sass-components

Refactor component styles