Implemented the edit and remove actions for a Canvas