This should get you started. http://cybera.sourceforge.net/site/co/home_en.html
This is a Simple Dialog Demo.