Bug: no popup is generated if no template (single or item), see #11.