create new option to decide if buffers are deleted on tab close

refs #264