"Some seagulls squawked briefly when she stepped by them and quickly flapped away."
I wonder that the bold part modifies for "some seagulls" or "when she stepped by them"?
p/s: I added a comma to make sure the bold part modifies for "some seagulls".Is it correct?
"Some seagulls squawked briefly when she stepped by them, and quickly flapped away."