Used alert instead of modal for auto matching.