prevent doubleclicks on submit buttons