buttons now have type=submit