change dialog back to alert. dialog failed to call