Fix code example in modals documentation