Duplicate attachment on edit mode