Document viewer reloading support fixes