Fixed error_flash messages in edit boxes

fix for issue #716