add clear on popup close