* fix: don't throw when switching from a data sync to a new table
The modal resets the form on a type change before the data sync form is
swapped out, and the data sync form had no reset method.
* fix: reset the sync options when switching data sync type
A two-way sync left on from PostgreSQL was sent for iCal, which doesn't
support it, so creating the table failed.
* fix: clear leftover data sync state when the type changes
Keeps the sync option defaults in one place, shows a failed restored sync
as an error with the form, and ignores properties for a previous type.
* test: reuse the data sync mount helper