Add pre-form loading hooks
Show form loading errors in error dialog
Set defaults on feature before pre-load events
Merge branch 'events'