initialized preview in contact edit