addAttachment on new UI working correctly