Setup modal form API calls.