Secondary windows get window title from the desired widget.