Popup does not close if changing the Theme (in the gallery) fixes #25