put up a notification when the application terminates