#4346: Only redirect if we're not in the media browser. Close the overlay after saving the file edit form.