remove popin before opening another