bugfix: destroy popover