Croatia is entering the final stage of its bid to join the European Union , resuming talks Wednesday that had been stalled over a border dispute with Slovenia .