use window.__torii to determine if atorii popup is open