Fix html and js for sensor and fix bug in data dashboard when opening map viewer modal.