Adding close buttons