Do not crash on replicated update if replicated create has failed
Free dlg memory in case replicated create fails