Fix typo in `showModalDialog` demo

Hat tip: @zcorpan.