fixes #418 - control behavior after popup close