fixed not working example code for modals

The link to trigger the modal was actually inside the modal in the example. fixed with this commit.