Inject doBeforeFormSubmit gracefully - fix #ALV-302