[BUGFIX beta] Add preventDefault option to link-to and action.

Resolves #3737