Added ability to export different branches from simulations. Change the ok button text based on selected tab.