contacts - working event handling logic for the default display input