Editing a shipping method was triggering to GET requests to the edit action

Add some missing preventDefault() and 'return false'
Fixes #5412