With the DropDownButton Custom Element, you can display the Tree Custom Element in a popup.