How can i use an injectable widget in Dialog?

I want to impl Some Widget using , and be content in DIalog, any ideas? thanks.