What's the right way to go about this? I'm not very familiar with how the system app manages windows.