Make ESC button also do "Navigate back" action

Fixes #2288