With out the code, it appears to me you are using a "Message" dialog box. If your looking for input dialog as text check this demo out.