added error dialog
compareTrain page
trainDashboard page