Automatically save editors when they lose focus