How to disable document completion confirmation?