Add open/close/hide commands