Popup: fix improper refrence to body Fixes #6318 - Issue with popup on 1.4.0a