Prevent modal from popping up twice

I’ve designed a popup modal and using interactions (trigger when scrolled into view) to show it after scrolling for a certain amount. However, after showing the modal once in a specific page, I don’t want it to appear again on a different page.
How can I achieve that?

To trigger the popup - scroll down in the home page to the reviews section.
Then, visit the pricing page and scroll down half of it, wait 2 seconds.


Here is my public share link: LINK

You can suppress it with javascript and a cookie to track that the modal has already been closed.