editable item directive functionality.