What is the version of the following sentence with correct punctuation?

You will need to provide a complete medical and behavioral history leading up to the onset of your dogs marking and roaming behavior
You will need to provide a complete medical and behavioral history leading up to the onset of your dog's marking and roaming behavior.