added support for multiple Detailwindows