How do I close the desktop app and keep the positions of windows?