Updating Bootstrap.Popup's logic for .modal-backdrop elements; those are deprecated in BS 3.0