Returns whether the given element or selector is contained within the current modal.
The element to test