This commit prevents the activation of options when no option section is
visible, and disables overlay if there are no options to enable.
Steps to reproduce the bug:
- Go to website edit mode (homepage).
- Click on the white area (the <main> element) below the "drag building
blocks here" block.
- Bug: The customize tab is activated in the editor panel, even though
there are no options.
task-3199281
closesodoo/odoo#118461
X-original-commit: af49b1aba1454f80663c4e88e8c4915eb75bd0ff
Signed-off-by: loco-odoo <loco@odoo.com>