Corona SDK: Possible to save/resume the URL in a webview when switching applications?

I am developing an app using Corona SDK in which the primary activity takes place within a webview. Everytime I switch to another app, and then go back to my app, the app essentially restarts, with the webview loading the page that it does when the application starts. I am wondering if there's any way to save the webview's current url at the time the app loses focus, and then set the webview to open the last saved url (if it exists) when the user switches back to the app. Is something like this possible?

edit: the webview is created in Lua using the standard native.newWebview() described in https://docs.coronalabs.com/api/library/native/newWebView.html