skip submit form if it is prevented by inline onsubmit handler