Show the grammar editor when selecting actions and variables in the Action Editor

Grammar editor now updates with current values.