Make sure your theme contains a div with the id "content".
Plone's overlays load a page, then filter the content to elements matching this selector: '#content>*:not(div.configlet),dl.portalMessage.error,dl.portalMessage.info'
So only the portal message and anything within the #content div will be shown.