Got the modal to save data into the DB