small change in close window