Hi there, I've been trying to figure this out for a couple of days.
I have component A and component B. I'm trying to add event listeners ONLY to the dialog for component A by adding the extraClientlibs property which references the custom clientlib on component A. As a test, it's just an alert that fires on dialog ready.
But what's happening is after the page loads in edit mode, if I open the dialog for component B first, alert doesn't fire, which is the expected behavior. Then, if I open up the dialog for component A, the alert pops up, and if open up the dialog for component B again after that, the alert fires, when it shouldn't. Basically, as soon as I open up the dialog for component A, component B starts getting the alert as well.
Does anyone have any idea what could be causing this?