Custody battle goes to the dogs