Fixed error dialog not calling callback and changed behaviour of last bridge connection failure