Adds optional timeout to PopupMessageNotificationAction and PopupMessage.