add ajax to tasks edit and delete actions