- dispatch save event when user clicks on save button or press ENTER key