Type character in the textbox

You will notice that the dialogbox appears before the character appears in the textbox
name :