Only enable X close on editing if validation errors prevent closing otherwise. CASS-1030
Only enable X close on editing if validation errors prevent closing otherwise. CASS-1030

cassproject/cass-editor,cassproject/cass-editor