LMS: converts close modal controls to use HTML <button> element