WeightDialogFragment implemented.