Bug in adding feedback session form when error occurs #2461

Fixes #2461