Add input event to modal view to enable ok button on input match