logging popup's visibility