Create and show a input dialog for a text.
The dialog setup options.
A promise that resolves with whether the dialog was accepted
Create and show a input dialog for a text.