💻 Not sure which kind of modal-component is more DX-friendly.
1: One which is used programmatically, like
modal = new Modal(); modal.open(content);
2: One which is used declaratively like
{modalShouldOpen ? <modal content="content"/> : null}
Currently using it the first way.