Added ability to stop record insertion or deletion form the before callbacks