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.
(cherry picked from commit ff052c6d)
Co-authored-by: Kai Uwe Broulik kde@privat.broulik.de