W..
Congrats!!!!!
I would just involve her in the 'clean up' - she has to get paper towels and wipe up the floor, change clothes, put the soiled clothes in the washer etc with a "that's ok. next time".
When she has accidents..... is it because she is so involved in something that she forgets she has to go until she REALLY has to go? It can help if you "remind her" by saying, "before you start to play with the play doh, please use the bathroom".