Changing dialogs in Categories into dialogFragments