[UI] fixed: html completeley reset when connection is lost