Science’s success at staving off death from heart disease or cancer has made another diagnosis more likely: Dementia.