edit redirects to dashboard