Make double-action on form submit work in IE8