LPS-48873 Adding ability to upload documents to both Documents and Media field and Image field