BTW, I know that we're doing exactly that for spark-overlay: however, 1) spark-overlay is trying to handle a stack of overlays by assigning increasing z-indexes, which is hard to do in other way; 2) we should try to fix that, too.