Added dialog for result