fix bug about/debug window close trigger closes app