#12747: Fix opening same document multiple times from scripter

git-svn-id: file:///svn/Scribus/trunk/Scribus@19559 11d20701-8431-0410-a711-e3c959e3b870