Dundee confirm Nish loan deal