The Close button is implemented by a layer.