Fix bug where media documents were not added to the DB by adding elements to the $form instead of the $attachmentPreviewContainer.
Fix bug where media documents were not added to the DB by adding elements to the $form instead of the $attachmentPreviewContainer.

GCRC/nunaliit,GCRC/nunaliit,GCRC/nunaliit,GCRC/nunaliit,GCRC/nunaliit,GCRC/nunaliit,GCRC/nunaliit,GCRC/nunaliit