Change the default value of modal to an empty string, instead of {}.
Change whatever code is using this property, so an empty string does not trigger using a modal. But I guess this is the silent assumption (or maybe it is documented): if the modal setting contains at least something, even an empty dict, then this is the current way to signal to Plone that a modal should be used. If you just want a modal, and are happy with the default modal settings, then this makes sense.
I would say we go with solution 1. But if someone thinks solution 2 is better, I am happy to hear it.
Plone 6.0.5. Default behavior:
Now try this scenario:
{}
.This is probably happening since https://github.com/plone/plone.base/pull/27 was merged. This was released in
plone.base
1.0.3, which already is used since Plone 6.0.2.Solutions I see:
modal
to an empty string, instead of{}
.I would say we go with solution 1. But if someone thinks solution 2 is better, I am happy to hear it.