When I click a button, it appears a popover which can be closed if you click the button inside the popover. However, if you click another button to open a popover, you will
trigger : 'focus' ,
worked for me on the same issue