A doctor with the ability to visit people’s dreams helps a young woman confront the terrifying reality of her nightmare