AgilePoint provides a built-in Submit & Close button for InfoPath forms. However, you can also create your own InfoPath buttons that submit the form as well as performing other functionality.