You are a wonderful mommy!

I actually had to do the same thing years ago w my Cricket. When she was a young pup and would go to my parents' home, she would have accidents. They were not thrilled. I would put a little diaper on her while visiting there, just in case. Of course, she got better w visits and we quite using a "didee" eventually.
She used to give me a look too. Sometimes she would wiggle out of it, and my mother's husband would say, "the child is naked." tee hee
For this short time while she is healing, I think you are fine. I would just make sure it doesn't rub at her incision site.