How to make Back go back in history instead of Up?

dopus back up

Currently, this will always go Up and never Back.

How do I customize the command editor to go Back in the history list first, and when that's exhausted, only then it will start to go Up to the parent folder?

Change the command ("function" in the dialog) to go back