Added timed dialog functionality, still cleanup tasks to go.