Shows a text input dialog with a title to allow the user to input some text.
Example - Input Name
function OnStart()
{
app.ShowTextDialog( "Type your Name:", "", OnInputName );
}
function OnInputName( name )
{
app.ShowPopup( "Your name is " + name );
}