Adding close button in all panels