OMG.........a very scary moment!!!!
I am SO glad you were there to see it happen and get her to safety quickly. A harness is definitely in order for future outings on the deck (and walks) and/or yes, an expen is another great idea.
I'm so glad this story had a happy ending.