Hi Oscar,
Short answer: try calling editor.updateElement() [1] on the client side after your dialog has been closed.
In 7.9.0, the CMS listens to 'change' events of CKEditor and then call updateElement. Maybe your dialog does not generate such a change event?
This should be be necessary anymore in the latest CMS tag (2.26.02), so you can also try to use that in your 7.9.0 project (e.g. in your project's root pom, add:
<hippo.cms.version>2.26.02</hippo.cms.version>
</properties>
Long answer: you may be hitting a bug/suboptimal implementation in 7.9.0. By default CKEditor updates the submitted textarea field automatically on form submit (i.e. when hitting the 'Save' button of a document), but since Wicket overrides the form.submit method CKEditor cannot remove those callbacks anymore. Old callbacks therefore will keep lingering around, and may interfere with the new callbacks. This has been fixed in CMS7-7993 [2], so editor.updateElement is now always called on form submit. That fix is part of CMS tag 2.26.02.
hope this helps,
Mathijs