fixed a dialog bug and improved the input

the z or gamepad a button should be able to advance the dialog