Added button attribute

set the buttons to have type="button" so it wouldn't treat it as a
submit button