instead of QgsAttributeForm - because it's used on places not including QgsAttributeForm now it's able to use @form_mode in expressions of containers and QML widgets