Fix example code in modals documentation