[PD] window close bug