Sounds like she just did not want to stop and stand, and was being impatient. Giving her a correction was good, to let her know that is not acceptable.
It may have been a one time fluke if she has never done it before but you don't want it to become a habit. If she does it in the future you can back her up, then bring her forward again, send her in a circle, yield her fore or hind quarters. But the best thing would be prevention, the more she does it the more practice she gets the harder it will be to stop.
I would practice having her walk and stop and wait patiently. Move on before she starts to paw, if she will stand for three seconds move at two seconds and build from there.
Another thing you can do to teach patience is find a safe place to tie her and leave her tied for a couple of hours. She may paw and dance around but eventually she will stop, just don't intervene let her figure out for herself that pawing gets her nowhere.