Add declarative fail-when to checking dialect