Implemented advancing of Dialogue from input