@if (state(); as dialogState) {
@for (error of dialogState.errors; track $index) {
{{ error }}
}
}