added error dialog to languages