allow switch unsaved buffers