Make PopupPanel attach to overlay container in a GWT 2.7 compatible way (#14881)

Change-Id: I71fcac37888c920ba62660b829f4cae3de6dd67a