Catch and show the alert dialog when server error in dashboard