Fixed accidental form submission in firefox