Modifications allow windows to be released when closed. We can even show a message box if we want!