web: Fix page reloads on import download for firefox