Fixing a bug in the modal sample that crops up in IE9.