Tab closing issue fixed. (closes the current tab)