does anyone know if there is a good way to determine which userscript events get executed during a given action in the UI? for context, i am trying to call an external API whenever a credit memo is applied to an invoice, adding an aftersubmit userscript to the credit memo type gets triggered if i edit a credit memo directly and apply to an invoice then save, but not if i apply a credit memo as part of the “Accept Payment” flow on a customer record which is how our finance team generally does credit applications