Add the ability to close/open all of them in one shot. Refactor a little on the way.