Implemented close tab functionality for the tabstray context menu