Exiting sequencer editing mode

After exiting the sequencer editing mode I am returned to perf mode. If I accidentally select a pref preset I loose the ability to restore the patch I was editing. It would be nice if it the previous mode mode was tracked and restored.