[FIX] Avoid saving twice an XML instance.

In the GUI, when you save an XBRL instance, it is actually saved twice.
By applying this pull request, it is only saved once.