Implemented delete actions with AJAX, perapred for edit actions