I was trying to do the same thing using DTF but gave up on it after not being able to access feature information. It seems like limited access to the session is an issue that will prevent a lot of people from using an Embedded UI which is disappointing because it offers several advantages as well. Hopefully this will be changed in the future if possible. For now it's back to an External UI...