# How to avoid post FileContents when editor is closed?

**URL:** <https://forum.collaboraonline.com/t/how-to-avoid-post-filecontents-when-editor-is-closed/421>\
**Category:** Development\
**Created:** [June 17, 2021, 5:57am UTC](https://forum.collaboraonline.com/t/how-to-avoid-post-filecontents-when-editor-is-closed/421 "2021-06-17T05:57:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rsoika](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.collaboraonline.com/rsoika/32/138_2.png) [@rsoika](https://forum.collaboraonline.com/u/rsoika)\
**Post date:** [June 17, 2021, 5:57am UTC](https://forum.collaboraonline.com/t/how-to-avoid-post-filecontents-when-editor-is-closed/421/1 "2021-06-17T05:57:40Z")

</div>

I have integrated Collabora in our web application. Now I noticed an unexpected behaviour:  
When the IFrame with the editor is closed or removed from the visible page part, than the editor sends a Post request with the last file content similar as if the user has triggered the action save.

Is this behaviour expected? How can I avoid the last post request from the editor to my wopi host?

Thanks for hints

===  
Ralph
