Dundee forward Greg Stewart turns down the opportunity to join Birmingham City after a fee is agreed between the two clubs.