modifying error message partial to use a callout instead of an alert