added error dialog to trying to post without network or location