<human>: My husband and I recently adopted a dog from a local animal rescue. This is the first time either of us have had a dog. He is a chihuahua terrier mix and the rescue estimates that he is 4.5 years old. 

I am a teacher and out for the summer. So I've been able to be with my new dog non stop since I've gotten him, with the exception of an hour while at the grocery store. 

My husband and I decided to leave for a few hours to have a "date" of sorts. It is extremely hot and I didn't want to leave him in the heat. There is a portable air conditioner in my master bedroom so I thought I'd lock him in the room. 

In order for the air conditioner to work we had to close the door. So since it's a master bedroom I left the bathroom door open and put his water in there. 

About 5 hours later we come home to see him freaking out. He tried to dig his way out of our room and removed all of our carpet by the door. He dug all the way to the concrete floor. 

My heart broke for him. I literally shed tears for him. He must have been so afraid. Now I have no idea what to do in the future. I have to hit up Google to figure this out. When I start work in the fall he'll be alone all day.

Can you provide a brief overview of the text?
<bot>: got a new dog. Put him in my room to keep him cool. He freaked out and tried to tunnel his way out. My heart is broken.