Modified modal to show a checkbox for selecting capsules. Still need to perform the submit related code