use  to trigger green msg box on success and red on error when calling enqueueMessage