test popup exit