width of popup window is now based on percentage.