Fixed Date GUI  Exit

When date window is exit it now only exits the date window.