The buttons opening dialogs should be hidden in the case of public forms, so they need a specific HTML class so that CSS can be used to hide them.