Last year, I wrote about managing focus in the shadow DOM, and in particular about modal dialogs. Since the element has now shipped in all browsers, and the inert attribute is starting to land too, I figured it would be a good time to take another look at getting dialogs to play nicely with…