added edit onclick to Dashboard