adding popup library messi, changing ticketRedeam to check for empty