Don't allow tag to be closed if it wasn't open
Don't allow duplicate of the same tag