sounds like you need to open up a can of whoop axx on her........
Have you thought of changing your collection method? Use a box that you can close.
Put a screw or a large nail in the wood by the gate to hang the basket up off of the ground......
Any dog of mine that bit at my pant legs to...