modify closebutton