I need to execute a logic before the Sitecore item deletion event or before Sitecore shows delete warning. I am trying
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<events>
<event name="item:deleting" >
<handler type="PH.Foundation.Extensions.Pipelines.CustomDeleteHandler, PH.Foundation.Extensions" method="OnItemDeleting" "/>
</event>
</events>
</sitecore>
but it executes after the Sitecore delete warning. How can I execute it before the delete warning or how can I edit the processor where sitecore shows a delete warning