Layout Detail Undo View doesn't seem to work

I see that if I navigate in a detail then I can’t use UndoView, but I can go out of the detail and use ordinary Undo… Could you please make it so UndoView works?