[client][AddActionDialog] use null instead of undefined in case matching.