added offline handler modal with reconnect