Logic / disable clicking

I have a dialog box object, every time a dialog box is created I want to disable clicking on everything else until it’s closed. I was thinking about doing …mouseChildren = false;, but because the dialog box is a child of that itself it wouldn’t work out too well. Is there an easier way to disable mouse events on only certain things?

I know I could add this as a separate child directly to my main displayobject, aside from the rest of the GUI, but is that the best way?