Modals are really hard to get right
Hopefully that fixes it and doesn’t introduce any regressions
https://github.com/discourse/discourse/pull/36596