ENYO-2693:  close the phobos/deimos panel if no opened files

Tested on Windows 7, FF, Opera, IE10, IE9, Safari, Chrome, Chrome Canary

Enyo-DCO-1.1-Signed-off-by: Olga Popova <olga.popova@hp.com>