ability to trigger fn on escape key