File dialog now doesn't accept empty filenames