[PD] Gem window closing itself