Writer document does not save when using a new template

@joergmschulz I wasn’t able to use 5.0.2 yet because of this: Upgrading to 5.0.2 does not let documents open · Issue #2060 · nextcloud/richdocuments · GitHub

So I’m waiting for 5.0.3 where hopefully both issues will be fixed.