extended example with popupoverlay.