The modal documentation has an example modal dialog near the top with the primary button on the right side. In the example HTML below it, the primary button is defined first, and so would appear on the left if rendered, making the documentation confusing. (At first I got excited because I thought Bootstrap was doing something fancy at the platform level to control primary button placement according to OS guidelines.)

The modal documentation has an example modal dialog near the top with the primary button on the right side. In the example HTML below it, the primary button is defined first, and so would appear on the left if rendered, making the documentation confusing. (At first I got excited because I thought Bootstrap was doing something fancy at the platform level to control primary button placement according to OS guidelines.)