diff --git a/UI/index.html b/UI/index.html
index 341e909..dc0d1b6 100644
--- a/UI/index.html
+++ b/UI/index.html
@@ -190,6 +190,9 @@ function startGameSession() {
gameSession.onconnect = function () {};
gameSession.onclose = function (event) {
console.log(event);
+ popupDialog("connection_error","Connection Error!!!",false,messageDialog,"The server connection was closed!",function () {
+ window.location.search = ""; //reload page
+ });
};
}