Re-enable autowrite on lost focus (not on close)