Added ability to display alerts with custom trigger message.