Save all buffers on loseFocus.