Fix: prevent button from submitting forms

Set the type on your buttons. This will keep them from triggering a submit action