Fix the file-not-found dialog when the provided file is not a correct url