How to create a dialog that is able to accept text input Tutorials