fix multiple template issue for modals