uniqname/dialog-polyfill — pull request #1 by elisee (2014-05-15 17:55:48+00:00)
Title: Only close a submitted dialog if the form validates

This commit makes sure that the form is considered valid by the browser (checks for input[required] and input[pattern] and the like) before actually preventing the form submission and closing the dialog.