enabled 'close' when piece was clicked