Manages attachments and deletion

Sorry my previous remark was not clear: why do you use DOM manipulation vs a react state?