Fixed bug in tab edit graph of dialog