Added states to the Modal component. Time to add the AJAX calls.