Close child views automagically

We should touch this up a bit. Let me think about it for a minute.