Stop the page from scrolling when a modal is open
![site profile thumbnail](https://screenshots.webflow.com/sites/5f4485043234b224bc5bbb3b/20200825041525_7d524faf66d46dee730767e57507c054.png)
This is a quick guide on creating modals that stop the page from scrolling, after you've opened a modal.
Closing the modal via a background click or by clicking on the on the close icon, closes the modal and then makes the page scrollable again.