 He scored his first goal against Poland on 6 September 2008, in a 2010 World Cup qualification match.He was later instrumental in his national team's successful qualification to the 2010 World Cup by scoring the winning goal in the second leg playoff match against Russia, which ended with 1–0.Dedić was born in Bihać, present day Bosnia and Herzegovina and moved to Slovenia at a very young age where he spent his childhood in the village of Podgorje, near Koper, in the Slovenian Littoral.