so the way it worked was that it would only open the popup when the browser was opened and it would open it in a separate window. I could close it out but upon restarting the browser the popup would come back up.
After this I performed a scan with windows defender, which found and quarantined two things it labeled as trojans, and then with malware bytes, which found a couple of other bits of malware that I can’t remember how it was labeled. Seems like it’s all cleaned up now