adding dialog helper and noreplacetempalte