when user scrolled in a popup and dismissed, sometimes the next popup would exhibit the prior sroll position. so, inserted code to scroll automatically back to the top when a popup is presented