prevent form submission on search