Ability to specify a containing element for the dropdown.

This adds a new option called dropdownContainer. If specified, the dropdown will be appended to that instead of the body. If no option is given, it uses the body just like normal.