added a dialog which is shown in case of failing to obtain the address.