Here is the sentence:
As Gloria was squirting ketchup on the hot French fries, she stained her
shirt red in a tomato sauce explosion.
Super choice! Notice that a subordinate clause introduces a main clause. Since each clause has its own subject and verb, no misplaced or dangling modifier exists.