adding dialog page