Brave showing popup ads for closed profile

I have noticed that many times Brave shows popup ads for the profile I have closed.

Why this happens?

Shouldn’t ads only show if I have the profile open?