The video shows a man rescuing his neighbor's dog after his leash is stuck in the elevator doors

The 27-year-old Johnny Mathis comes from Houston, Texas, and has just parked his car in the apartment complex's underground garage. Mathias lives on the ground floor of his community and took the elevator to his floor. As soon as she got down, a woman and her dog were trying to keep up.

"When he went, I looked at the dog because it was a cute dog," Mathis told CNN. "I noticed the strap was a bit big, but I didn't think it was going to do it in the elevator or anything."

In the 39-second Mathis clip posted on Twitter, you see him leave the elevator but quickly return to pick up the Pomeranian as soon as he sees that the owner has left and is still stuck there alone.

Matthew said he shouted back at her, "hey your dog!" when he noticed that Pomeranian was not doing the elevator.

"It just broke the instinct, I just grabbed the leash," he said. "There was so much fur, so it took me a while to get the lever off the collar and when I did, I let it go, you could see the strap was just shooting at the top of the lift."

As soon as the lift doors are closed, Mathis said the dog's owner can be heard braking.

When he managed to get the strap off Pomeranian, Mathis said he kept knocking on the elevator doors to tell him his dog was safe, but he didn't think he heard it.

"He thought the worst, that the dog had died," he said.

When the owner returned to the ground floor, Mathias said he was so grateful, but still visibly upset, and couldn't stop crying.

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

Mathis has not seen her since, but she believes she had just moved into the apartment complex, so she wasn't sure if she didn't know how the elevators worked, but that there was no way we knew this could have happened the way He made.

The day after the incident, Mathis went to the apartment rental and explained to the tenants what had happened. They went to take a look at the security video and saw it unfold again with the confidence that the dog was out safely.

Matthew was happy to be there to help and said this could happen to anyone – a perfect example of being in the right place at the right time.