[URIGen] Close window after app opens