tabbox: Do not add windows that have modal children
This fixes a porting typo. Previously, the modal was therefore added twice, once for itself and once for its parent but we actually do not want a window with a modal child at all.
Opened dolphin, opened another tab, tried to close Dolphin.
Previously the “Really quit?” dialog showed up twice in tabbox and hitting Alt+Tab once would just cycle between the same window.