Added SetDialog command