Destroy popover when hiding options