thanks for the quick responses! Unfortunately the latest commit hadn't fixed the issue.
However, I looked through core-overlay.html and noticed that the function "transitionend" seems to be called every time an overlay is closed.
Among other things it adds an element style "display: none;" to the target to hide the overlay. I just added:
this.target.style.left = "";
this.target.style.top = "";
right below the "display:none" line to reset the left and top values whenever a dialog is closed. These two lines seem to have fixed the issue. Would this be a legitimate solution or is there potential it could break something else?
Cheers