fixed the bug not directing from enter observation page to patientdashboard