Hi, I have several very simple (1 to 4 line) scripts for common tasks. Most are benign and can be undone by clicking on the icon again (Ex: Toggle high / exclude for a row). I just added one to delete selected rows. Ideally this would go to the undo stack. Is this possible?

Ex: Delete rows, select matching, select non-matching, and a more advanced columns selection tool (pretty much useless since I learned about the column filter selector feature). The first is the only one I'd need to undo.
Script is:
current data table() << delete rows;
Thanks
Mike