Wraps popups in divs with a "popup" class; and fixes a link.