dynamic dialog funtion