prune out the close wrapper, that will be another component