adding a better popup window