Closing modal when standards are selected.