[MOB-2708] Solving the multiple rendering issue of dialog.