added thank you msg on click