Change modal vie specification to allow use of keys specified when extending the modal