Popup starting to work on Page view. Attach shows, but upload does not yet.
Upload popup now working (though upload itself is not). Also the flip back to Attach isn't working.
Atrocious Javascript that needs refactored but does, indeed, properly open and close popups.