add query panel