Don't add empty entries in hidden files editor with an empty string
or when cancel is clicked
Merge pull request #857 from Arakmar/hiddenFix

Don't add empty entries in hidden files editor with an empty string or when cancel is clicked