I think the tabindex causes the `.window` element to get a funky blue focus outline. Can you remove that somehow. Why is the window focusable at all? If it's related to `stack[stack.length-1].focus();` up top, I think it would work to make it focus the first `:tabable` element as I wrote above.