reset and save buttons in modals are function for course model