fixes 13609 - Modal is shifting left just before the hiding animation
hidden and auto
Merge pull request #13785 from twbs/fat-13609

fixes 13609 - Modal is shifting left just before the hiding animation