Save all buffers on focus lost