Lloyd,
You will have to do this through direct DOM manipulation:
map.infoWindow.on("selection-change", function(){
setTimeout(function(){
var node = query(".attachmentsSection")[0];
domStyle.set(node.children[0], "display", "none");
}, 100);
});