code review changes: spacing around conditionally added html classes, wrap confrirm messages in ts