Add gesture to close tab.