Add queuing system for popup windows