Open operation now toggles between image open/close as it should