adds close window page