I'm trying to figure out if I can detect when a specific modal (see attached image) is displayed using pure JS (no jQuery). If you go to https://www.bankofthewest.com/personal-banking/checking-accounts.html
in Chrome, Incognito mode (or just clear your cookies in standard mode, you see the "State Selector" modal show. Once a State is selected and submitted the page will close the modal and refresh. Is there any way to detect if this modal is being displayed and if so, how?