Currently modal (/components/pharmacy/stock/MedicationModal) uses custom modals and takes in form details as props. Refactor it such that it has the following behavior
Medication form handles all logic for the form (submit, fields etc)
Medication form is passed into the custom modal. Custom modal should then take in the medication form as the children
TLDR: Custom modal handle modal logic and styling, medication form handle form details, styling and submission
Currently modal (/components/pharmacy/stock/MedicationModal) uses custom modals and takes in form details as props. Refactor it such that it has the following behavior