Turn a window into an overlay.