better error/success message styling for widgets