update dialog

add dialog example.