Move dashboard form logic to dashboard.js.coffee