Yes, the L-theanine needs to be combined with caffeine or it would act as a mild anti-anxiety drug with no stimulative function.
I do not have dementiaš but the two together definitely enhance performance.
And I have had a modafinil Rx — next to no effect of any kind on me; I could even fall asleep right after taking it!