[jQuery] UI tabs - find unique

[jQuery] UI tabs - find unique


Trying out jQuery UI.
Here's a problem I came across while looking at tabs.
I need to ensure that when a tab is opened it's unique. That is, when an
attempt is made to open a tab with the same content, an existing tab
should open up instead.
Here's what I mean:
I have a grid that lists, say data on sales from a database. When a user
clicks/double clicks a row a new tab opens containing, say, a sales
report. If a user double clicks the same row again, i need to show him
the previously opened tab. Is it possible with jQuery tabs or any other
tabs?
Thank you