cmd_mode: don't reset to default after subcommand
cmd_mode: don't reset to default after subcommand

In cmd_mode, the mode is currently being reset to the default mode after
a mode subcommand handler is executed. This stores and restores the mode
instead

ascent12/sway,SirCmpwn/sway,1ace/sway,1ace/sway,1ace/sway,ascent12/sway,ascent12/sway