some nights mary had nightmares about the stories , and her mother was by her side the instant she began to cry , comforting her and hearing the story of the bad dream and telling her it was only a dream .