I\'m trying to do something when a window is manually closed in tkinter and don\'t know a method/function to do so. A simple example of what im trying to do in a smaller sca