How is this working?
I use
html2canvas.js to create a screenshot of the current page.
This screenshot will get used by the modal as a background image. Thanks to CSS I can then use a blur filter.
Set a half transparent background above and boom: We have a cool frosty glass effect on our modal.
See the source code on GitHub.