Close refactor

breaking change! Subviews are now no longer removed when closing the parent view. We assume that children DOM elements will be removed when their parent is removed.