GenericDialog implementation, commenting the GenericFragment, GenericActivity, DialogType, PagesOpen classes.