Show error alerts in a better way