How to use TextInputDialog

how to use TextInputDialog in AbstractEditor controller?
any one can help me?

https://demo.cuba-platform.com/sampler/#!