add hack to remove the tab if the selectfeature control has an empty model