Overlay modal on top of diagram

Hey, so I’m in the process of creating a complex diagram page with several elements to them. To the side of my diagram I have a button which pops open a modal in the center of the page on top of the content. The modal appears above the div correctly but appears underneath the actual node and links of my diagram. How would I solve this and allow for separate div elements to be overlaid on top of my diagram? Can I format my diagram template in some way to achieve this?


Maybe you need to set the z-index of your dialog.

How did you make the model from a contextual menu or add elements from the modal to the canvas