Fix windowClass not being set on modals

Fixes #97