moved saveRemote() to dashui.js