popup windows are positioned on the center of a target element