Implemented delete ticket functionality.