snap: made snap and sub-guis singleton, when sub-guis close snap regains focus