Open doc when finished writing