איך להציג את השלט עם כפתור סגירה (X) רק למשתמשים שאינם מחוברים

I am looking for the same function.
Is the banner you wanted to modify like the following #2?