Hide widget on error.