Read http://www.mhhe.com/socscience/intro/cafe/prof/ppt/chap10/tsld013.htm
This is a Simple Dialog Demo.