correctly wrap passed toplevels with closure