Fix closing Settings tab in Cookies dialog