In an application that has a tab control with multiple tabs where each one contains an entity which is possibly being edited, how would you signal the tabs to find out if they are in edit mode and shouldn't close?
RoutedCommand or RoutedEvent maybe?
So the top window needs to request all children that are open (they may be of different types etc) whether they can close.