refactor dialogue worker with schedule manager
clean dialogue worker