The example previously did not run, because it was missing the "closed" parameter. Fixed.