update dialog version in demo