Updated Class Diagram generator action to cancel the UML generation if
elected by user.