First Approach: The first approach deals with modals containing completely different content. In this case, the modals have to be coded individually.
The following output is displayed on click of “item1”
The following output is displayed on click of “item2”
The following output is displayed on click of “item3”