Popups are a different subject than a Firewall per se.
Popups originate from within your browser and the the websites you visit plant these things. Other tools would help here, but not the Firewall.
A Firewall controls communications between two systems by monitoring the IP addresses and Ports (which popups don't create directly).