Polymer/core-overlay — pull request #25 by snagi (2014-09-08 06:25:30+00:00)
Title: Issue#746 | Closing the overlay reset the position to center of window

Initial position defined using style get applied only on first display. Closing the overlay reset the position to center of window. This was happening due to resetTargetDimensions removing the styles on overlay target.

Added code to capture the initial dimensions of target on domReady and targetChanged and reset to saved dimensions.