def On_OK(self, event):

        ################################################
        #  Need to now include "layer" as well when
        #  saving values from text boxes to parent.
        #
        #  Make sure that timestep gets saved also.
        ################################################

        if (self.parent == None):
            print 'Sorry:  This dialog has no parent dialog,'
            print 'so collected values cannot be saved.'
            print ' '
            return