Pop up: how to make it display only once to a visitor?

After the visitor closes it by clicking the X, the popup should not show up again during current visit.

I know "Never see this message again" link can do it, but it is not that obvious. I want the X (close) to act like that.

How can I achieve it?