window finishedish and destroy