Terminate all popups when Showtime shuts down

Fixes #1983