fixes 8216

BS3 commit fc8f4f04652f6fb29657969f7ea6f167635fd01f
Adjusts vertical alignment of labels and badges

BS3 commit 96eef43deea6d923f508875d509f46cff7b84146
edit modal docs code to fix 8769

BS3 commit 46a424fc938d26a344f5cca1aab6004eaaa4a787
Fix out of order variable declaration order

BS3 commit