adds list of windows, checks escape key

will prompt if pressing escape while on a chat window