Ajay | #4179 | Purge media detail documents when editing advanced questionnaire