Move dashboard task form logic to dashboard