Add explicit type for buttons to prevent unintended submitting