fixes #2302 File edit does not work with Firefox