Remove unused variable in ErrorDialog.java