For applications linked on 10.7 and later, ordering out a child window will now first remove itself from its parent window.
ordering out a child window would implicitly order out the parent window too.