Retooling 'close' links to be class rather than ID