Fixed MTM and Clinical Support Visit templates not closing loading window.