Fixed typo
Check form/buttons exist when submitting form