Add the ability to pass in an appendTo option for where to position the ...

...popup.

This allows more control over where the popup elements are positioned in the DOM.