TMSFMXEditBtn: PopupControl close ?

In the documentation I found the example to use a TMSFMXEditBtn with a TreeView:

  TMSFMXEditBtn1.PopupControl := TreeView1;

This is working, the TreeView is opening,  but how can I take the selected entry in the TreeView to the TMSFMXEditBtn edit field  and how can I close the TreeView?