capture 'paste' event for detecting changes of input fields