add 'Home' key event to close filemanager
allow closing non-existent widget but throw a warning
Merge pull request #1090 from chrox/fix_869

fix #869