Possible anxiety link to midlife dementia