added dialogFragments and layouts