consistent treatment of close buttons