Enable auto-close of empty panes.