fix(modal): put backdrop in before window

Closes #1313