close and save buttons in settings