you're just warning and then running... a small N second delay before warning won't make much of a difference to usability and presumably it only happens once per user. either way is fine.