made all buttons type=button so they dont trigger submit in some browsers