Writing a stack/state based dialog manager | Hacker News Reader