fix popup close