popup_autoclosable: Don't hide popup on window resize or scroll

closes #526