FileBasedDocument problem since PIMPLisation, JUCE 7

I have a code that was working on JUCE 6, but not anymore with JUCE 7.
The culprit must be somewhere in the lines of a class inheriting FileBasedDocument. I can’t access anymore with this class to functions such as saveAs(), saveIfNeededAndUserAgrees() and so on - the functions that are not async and supposed to be available when JUCE_MODAL_LOOPS_PERMITTED is on, which is my case. Is there a workaround?

Well, I’ll rather try to call the async version, which is the preferred way, avoiding modal loops…