Dundee extended their lead to four points at the top of the SPFL Championship with a 1-0 win over Queen..