update to dynamic dialog