Added open/close all handling