dialog fragment now passes data to the fragment
dialog fragment now passes data to the fragment