Until recently, we've been advised not to use the dialog HTML element but to use role=dialog instead. But now it has very good browser support and has built in semantics and accessible features. @hdv #CSSDay