Try this http://www.youtube.com/watch?v=rbgMzHnRRhY
Did this answer your question? If not, then ask a new question.
This is a Simple Dialog Demo.