avoid closing current tab
add option to close newest tab