ALX, when you get those popups, DO NOT, close them with either the "close" or the exit X in upper left. Open Task Manager and close your browser, which will close the popup. This is very annoying, but if the popup is malicious and you click anything in that popup you are triggering whatever it wants you to do. If you are still getting the popups after you have left the site where you think they originated you have picked up a virus/trojan/ something malicious. Close everything down and run you spy & anti virus stuff.
In my initial post I cover what I use for AV, and general Malware. Please note the first two times I was hit while on Photobucket, my AV setup did what anyone would want, first try all 3 "Avast, Superantispyware, and Winpatrol" all notified me of a problem and I did a quick google on the listed virus, then rebooted to "safe mode" ran Superantispyware, and all the problems appeared solved. 2nd attack while on Photobucket, Avast didn't warn me, Superantispyware and Winpatrol, notified me of the attack. I again rebooted to Safe Mode ran Superantispyware, and while it appeared that the problem was solved, it wasn't. This time only 2 of the 4 virus files were deleted and 2 still remained. I still had problems. This was frustrating because I paid for Superantispyware and it wasn't doing the job. So I downloaded Malwarebytes installed and ran it. 7 viruses were identified, and deleted, my system was mostly clean, all remaining issues appear solved.
In the article I link above, today viruses can block your AV apps, making it impossible to clean out the malicious files. I think this is what happened with Superantispyware, it was blocked from deleting the other files. Since Malwarebytes wasn't on my system when the Virus attack occurred thus Malwarebytes wasn't blocked. So after Malwarebytes successful cleaning, I then deleted Malwarebytes completely off my C: Drive but have a copy of the Malwarebytes setup file on another drive ready for install if I am attacked again.
BTW, there are viruses out there that won't even let you run any AV and can detect if you try to install an new AV then block that AV. After 20 years of playing with PCs I have only once had to reformat my hard drive and reinstall windows to overcome a serious attack. You should know there are situations where reformat and reinstall windows is unavoidable.