subquery box UI