constructor window closer 