support marking inactive query tabs