Remove `.modal-open` class after backdrop is hidden

Fixes #14274.
Fixes #14632.
Merge pull request #14570 from twbs/remove-modal-open-after-backdrop-closed

Remove `.modal-open` class after backdrop is hidden