Added message::dismissAlert() API