added dock preferences setting