Add popwin, sensible window/popup management