Young Ryan Dashek lies on his living room floor, working on homework with his golden retriever, Cody, at his side.