Text this: Dynamics of spatial phase coherence in a dissipative Bose–Hubbard atomic system