public static void DismissMessage(ApiMessage message)
        {
            messageList.Remove(message);
            message.Close();
            currentMessageCount--;

            if (currentMessageCount > 0)
            {
                RepositionMessages();
            }
        }