try fix popup close in chrome mac