Submits the data in the window and closes the window.

Cancels any unsaved changes that you made and closes this window.