A dog's custody is contested between its emotional owner and a couple who grew close to it during a time of grief.