Add a closure to <div>