Complete save all function in dashboard.html.