working on api call formation from dashboard. added handeling of post for modify button