Dundee manager Paul Hartley says he is confident his side will start to convert the chances they are creating.