Make popups display atop document contents

Popups are attached to end of <body>, allowing popups to float across
div boundaries in complex UIs with scrolling sub-panes.