Dialog opcode handler