add query UI in comparison VIEW