Add a lightbox library and check the number of tickets of the states while drag and drop a ticket.