Created by: Johann-S
Hi,
This PR will Fix https://github.com/twbs/bootstrap/issues/16284 .
I don't know if it's possible to add a unit test because it's after the show
event and before the shown
event.
Maybe I can check on the shown
event if the modal have an element with the .modal-dialog
class.