Frontend caching: Adding <div> to Form view of existing document, still shown in new doctype form

Hi all,

I have a script that on refresh ads a <div> with additional information to the form view of an existing document.
After going back to list view and then adding a new document, the new document form view shows the <div> that I added for the existing document.

Is it possible to wipe the form view of reload the form view when leaving a document view?

Thanks
DoCa