The cast of 'Modern Family' were trapped in a cramped elevator together on Friday (01.03.13).

Actress Julie Bowen, Eric Stonestreet and Jesse Tyler Ferguson, were relieved after being rescued by fire fighters from the Kansas City Fire Department after being stuck for an hour with a number of other people in the confined space.

According to gossip website, the actors were on their way down from their hotel rooms to a charity event for the Boys & Girl Club at the Sheraton Kansas City Hotel when their elevator, which was full of people, broke down.

Although the group's appearance at the fundraiser was delayed, they made the most of the situation by snapping funny pictures of their ordeal and posting them on Twitter as they waited for fire fighters to free them.

They also made light of the situation after they eventually showed up at the event more than an hour later, for which they were the headliners, and cracked plenty of ''Hey we just got stuck in an elevator'' jokes and insisted the hour had passed by quickly.

Jesse, who plays Mitchel in the hit comedy series, recently revealed he would marry his fiance Justin Mikita in New York this July after getting engaged in September.

He previously said: ''We wanted to get married in New York, because that's where it's legal, so we want to support the state that's in support of us.

''It will take place in a beautiful loft space. It's so nice - I can't wait to see it all done.

''The guest list is around the 200 mark - which to me seems big - but people are telling me it's not that bad.''