Implement add/modify/delete ajax handlers.