Adding client side delete and hook for server side delete functionality