use the html5 error message dialog instead of shake