Changed to handle edit in case of transaction saving API.
Attach a file by drag & drop or click to upload