fix #208 by adding a dialog to notice the user that network is needed
I think adding online accounts should not be available when offline. Because the "button" is implemented as header, simply setting it invisible is not easy to implement. Also users would not know that this option does exist there.
So this MR adds a check for network. When offline a dialog is presented to the user to notifiy him on the required network connection.