try this:
http://jsfiddle.net/2soL9fg4/
when u click on close button of Tab 4 u will see a strange behaviour.
The bug comes out when the tabs are created via “addLast” jqxTabs method.