UI messages are only shown if not undefined