Hi, I'm trying to set up a general window event listener, specifically, the 'before unload' event from the page lifecycle API.
Question: Is there any way to set general listeners in a retool dashboard -- setting JS that isn't triggered by a UI action or on pageLoad.
My use case is just generating a warning modal if the user exits their tab or browser.
P.S. Hi Victoria / best TA ever!!!