I have a site in HTML, in the index I put a modal to open as soon as the person enters, this modal is to collect the person's email, however every time the person updates the site the modal reappears . I would like to know if you have something to do with using javascript where it opens only once, then it appears again only if the user closes the browser and back.