The dispose() method destroys the Queue component. It removes removes the content of the placeholder <div> and performs a cleanup.
After calling dispose() the DayPilot.Queue object becomes unusable.
DayPilot.Queue.dispose();