prevent temp shell buffer from closing on save