[DF-1389] Added preview dialog code