Add config option to close window with or after last tab