ENYO-2693:  close the phobos/deimos panel if no opened files
Merge pull request #388 from enyojs/ENYO-2693

ENYO-2693:  close the phobos/deimos panel if no opened files

Tested on Linux Chromium 26, Mac Safari 6 Opera 15