Undo button for Gantt charts

Undo button for Gantt charts

Hi, I really need an undo button in the Gantt chart view, specifically for when we're moving task dates, create/editing dependency.

How hard would it be to add this?