Add code to display PopupMessage.