We'd all like to think that if someone needed our help, we would jump at the opportunity in an instant.

Sometimes, though, it's about being in the right place at the right time.

A man saved his neighbor's dog after its leash got caught in an elevator door on Monday.

Johnny Mathis, 27, was coming home from work in Houston, Texas, and had just parked his car in his apartment complex's underground garage.

Here's What They're Not Telling You About Your Retirement

Mathis lives on the ground floor of his community — so he took the elevator up to his floor.

As soon as he got off, a woman and her dog were trying to get on.

Related: Kids Read More in the Presence of Dogs

"When she got on, I was looking at the dog, because it was a cute dog," Mathis told CNN. "I noticed the leash was kinda long, but I didn't think it wasn't going to make it on the elevator or anything."

This Could Be the Most Important Video Gun Owners Watch All Year

Following recent reports that Congress is considering a nationwide voter ID requirement for federal elections, do you support requiring voters to show identification before casting a ballot?

By completing the poll, you agree to receive emails from LifeZette, occasional offers from our partners and that you've read and agree to our privacy policy and legal statement.

In the 39-second clip Mathis posted on Twitter, you can see him leaving the elevator but quickly coming back to pick up the Pomeranian once he saw the owner was gone and it was still stuck there alone.

Mathis said he yelled back to her, "Hey, your dog!" when he noticed the Pomeranian didn't make the elevator.

"Instinct just kicked in. I just grabbed that leash," he said. "There was so much fur, that's why it took me a bit to get that lever off the collar — and when I did, I let go, you could see that leash just shoot off to the top of the elevator."

As soon as the elevator doors shut, Mathis said the dog's owner could be heard frantically crying.

The moment he was able to get the Pomeranian off its leash, Mathis said he kept banging on the elevator doors to let her know her dog was safe, but he doesn't think she heard him. "She thought the worst, that the dog had died," he said.

Related: Are You Following These Ten Canine Commandments?

When the owner returned back to the ground floor, Mathis said she was so thankful but still visibly upset — and couldn't stop crying.

"I think she just said 'thank you' and we hugged, but she was just so overcome with emotion," he said.

Mathis hasn't seen her since, but thinks she had just moved to the apartment complex, so he wasn't sure if she didn't know how the elevators worked — but there was really no way to know that this could have happened the way it did.

This piece originally appeared in UpliftingToday.com and is used by permission.

Read more at UpliftingToday.com:
Comedy Gold: Abbott and Costello’s Famous ‘Who’s On First?’
Remember This? Red Skelton’s Rendition of the Pledge of Allegiance
Mom Buys Baby Einstein, Instead Finds Mossberg 715T Inside Box

The opinions expressed by contributors and/or content partners are their own and do not necessarily reflect the views of LifeZette. Contact us for guidelines on submitting your own commentary.