Good hint!

This is an "old" part from second or third patch set. Subclassing InputDialog give us only tag name validation and displaying message when it isn't valid. Now when this dialog is already complicated we can also implement validation not even for tag name but also for tag message.