Adds (buggy) port of resource upload functionality to attachments area. Still needs field adjustments