Added undo support for tag binding