update new popup and html5 validation