[FIX] fix a crash when editing dashboard title (web)

fix is very simple. no further comment required I think.