Improved error feedback on capture failure - error is now correctly displayed in the form