added trigger for reveal modal in snippet

When I create a modal, I normally need the trigger as well, this should speed up development for me.