review doc::disableEditControl and doc::enableEditControl