The popup itself is infected so that if you clicked ANYTHING at all besides the X in the upper right corner to close the window, you have installed the infection.
AntiVirus 2009 is what we sometimes call Hostageware or more commonly called Malware. The obvious signs of infection are that it will drive you nuts with the popups. However, it disables any antivirus/antispyware programs you're running, redirects browser activity to infected web sites and opens back doors so the really nasty stuff can get in which steals personally identifiable information.
Removing this critter isn't easy. If you're not computer savvy, you should take the computer to a professional to 'clean' it for you.
But, if you're up to the task which may include editing the registry, you can take a look at these instructions:
http://www.bleepingcomputer.com/malware-removal/uninstall-antivirus-2009
There are several things not mentioned in those instructions though.
(1) rename the downloaded file after it's downloaded and before it's used to try and install the program so the AntiVirus 2009 won't recognize it. If you don't do this, the critter will block installation.
(2) install while in safe mode and don't try to update the program or run it yet.
(3) find the executable which was installed (mbam.exe) and rename it before you try to run it.
(4) perform your first full system scan while in safe mode by double clicking the file you just renamed. The shortcut on the desktop won't work.
(5) once the first full system scan has been run and infections healed/cleaned, you can rename the executable back to mbam.exe
(6) reboot back to normal, start MalwareBytes and update the program.
(7) run another full system scan, fix all it finds, reboot, repeat till all system scans are clean.