When you use a simple modal resource, and don't have EditRecord and CreateRecord class, how you call afterSave and AfterCreate hook function? Thanks.