I have an apex trigger on my custom object which will fire on record insertion or update (before insert before update). Based on certain criteria I would like to show users a modal.
So users can click save or cancel and other actions will follow based on user decision. I wonder, is this somehow possible to fire that modal from my trigger, when user clicks on the save button of my custom object edit record page?
The edit and detail page of the record are standard pages, and i am not allowed to make custom Lightning pages to override them.