ENYO-3661: allow to call closeDoc on a non-opened doc 


* ENYO-3661: allow to call closeDoc on a non-opened doc 

Related JIRA: https://enyojs.atlassian.net/browse/ENYO-3661

Enyo-DCO-1.1-Signed-off-by: Dominique Dumont <dominique.dumont@hp.com>