popup: correct set visibility of close button