added ability to prevent save on basecrud