Script field cancel/submit button back behavior

When creating or editing a scripted field, the *Cancel*/*Save* buttons were just using the browser `back()` behavior, which wasn't desirable when you came from another page. This change always returns you to the scripted fields list when clicking on *Cancel* or *Save*.

Closes #2136.