**Before this commit** Since 394f85c954f anytime this hook opens a popover, a traceback occurs. It is due to the fact this hook passes a callback as a getter-only property to the usePopover hook options. The traceback occur because the usePopover hook has to reassign this option (onClose callback). **After this commit** Fixed and tested. closes odoo/odoo#118580 Signed-off-by: Michaël Mattiello <mcm@odoo.com>