Add modal asking if user wants to save on exit.