Also you can get doggie diapers for her if she has a medical condition. My Brandi (RIP) had to wear doggie diapers because she had lost control of her bladder, she was also a senior.
Try getting doggie diapers. They do help and she will be able to sleep in bed with you