HTML5 validated popup.html