fix #36, exc closes popup