Ensuring the doc window will open if it was previously shut.