Opens a window.