I would have her checked for a urinary tract infection. Even if its mild it can cause her to loose control as the acids are too high. Its a easy test at the vet, and then they will put her on antibiotics.