implement 'close ribbon'