fixes 13816 Modal dialog closes when dragging and releasing mouse button outside dialog

BS3 commits: 42311c86c1bc25f4c0e32a5855e48754b20f3b63
grunt

BS3 commits: 4a89fd02b743d5a99e06dbf6e87b8a58366c3dcb