divided MovVisMain code between the two Dialogs