doc tweak + improved popover close