ENYO-3838: Restore protection brought by the waiting popup against switching happening too soon one after the other and actions happening too soon after a file opening

Related JIRA: https://enyojs.atlassian.net/browse/ENYO-3838, https://enyojs.atlassian.net/browse/ENYO-3836

The waiting popup was closed too early. Phobos was closing it as soon as a document is openend or switched to.
Now this is EnyoEditor that has to handle with that. No more Phobos...

Enyo-DCO-1.1-Signed-off-by: Vincent HERILIER vincent.herilier@hp.com