Moves vis remove logic to dashboard.js