If you wake up with especially vivid dreams in the middle of the night, it's sometimes a sign of sleep apnea.