sweetAlert error messages, execute button spinning