Currently, widget modes configurations are set for the current layout mode, which is a problem for subwidgets as parent mode is the widget one, hence "edit" by default instead of "create".
Steps to reproduce:
- in a creation layout, add a "container" widget
- inside this widget, add a subwidget
- configure the advanced mode configuration for this subwidget to be always hidden
=> the widget is still visible (problem does not happen on edit layout)
The better would be to define the advanced mode configuration for mode "any" to avoid that kind of issues.