Maybe try not letting her drink any water before bedtime and let her outside at the last minute before going to bed and see if that helps.