MDL-32508 course: make_editting_buttons now takes optionally returns to section