Remove closing tag comments from modal snippet