Fix IllegalStateException when creating image attachments
Injecting the non-singleton AttachmentCreator keeps an instance around that gets re-used with a different ViewModel. When backing out without sending or cancelling the attachments, we don't reset the state which leads us into an illegal state.
Closes #1647 (closed)
Edited by akwizgran