#1167 getPositionedParent: Create a method to get the positioned parent of a given element. #1166 Validation: Bubbles have an invalid position inside a modal.