Code example for DialogFragment

Methods: getTargetFragment, getTargetRequestCode