Added confirm to window close, right now doesn't check if the user has updated files or not, because we don't actually have that information anywhere