Remember animation state between page loads

Hello, on my page ( I am trying to create a form gate to the videos on the page. Using webflow interactions I was able to get the form modal working the way I wanted, however when users navigate away from the page the state is forgotten requiring users to sign up again which is not ideal. Is there a way to use the user’s cookie data to hide the modal activation button when they have already completed the form? Many thanks for any suggestions.

Here is my public share link:

I got this working perfectly with Vin’s great cookie template ( as well as anthonysalamin’s extra lines to target a specific button.