close button actually workingnow