Create the window only if it does not exist.