Adds key parameter to openField.

This will be used for later user interaction features.