Limit Script to Popup Context
Is there a way to limit a script to the “popup” context? I’m not sure if the context has a specific name, but I’m referring to when you’re on a transaction like a sales order and you want to create a new customer on the fly using the “+” sign. Can I configure a script to only affect the creation of a new customer in this popup context as opposed to creating a customer record the normal way?