Dying 2-year-old serves as parents' best man