Fix a syntax error in the chest game cave script.
Don't propagate commands to the game script if a dialog is active.
Dialog callbacks: handle the case of skipped dialogs.