modal docs: ensure all <button>s have an explicit `type` attribute

[skip sauce]
Merge pull request #14624 from twbs/type-button

modal docs: ensure all <button>s have an explicit `type` attribute