fixes #11139: add position: relative; to .modal-dialog so that z-index takes effect