The sentence that contains a dangling modifier is:
"While sweeping the floor, the cat tipped over its food bowl and I had to pick it up."
In this sentence, the modifier "While sweeping the floor" seems to imply that the cat is the one doing the sweeping, which is incorrect. The intended meaning is that the person (not the cat) was sweeping the floor.