Changed the popup to a window