Added block validator, which checks for existence of a saved block when a template is saved