Why buttons work behind a movie clip?

hello,
i have some draggable buttons in the scene, and some times they open a little window (it’s just a movie clip that looks like a window and becomes visible with the button action), but the buttons keep dragging behind this movie clip (the opened window), how can i stop them when they are dragged there.

any help?
thanks

tamara