Closing tag view keeps any text that was selected