Hi,
Try the below steps.
1. Go to DONE button properties.
2. Select Rules and Custom code in the action drop down.
3. Click Rules button.
4. Click Add button then Add action button.
5. Select ‘submit using data connection' in action drop down.
6. Select the submit data connection in ‘data connection' drop down.
7. Click ok.
8. Again click Add action.
9. Select ‘Close the form' in action drop down. Uncheck the ‘If changes have not been....' Check box.
10. Click ok until all the windows gets closed.