removing tab does not bring the widget to undefined state