show queries in dialog