You could add:
Thisworkbook.Save
wdApp.Activate
before you unload the userform.