Fixed an issue where existing attachments are discarded on saving.
Merge pull request #76 from b-smets/master

Fixed an issue where existing attachments are discarded on saving.