mode: Fix enable-modes and disable-modes to not block REPL.
mode: Fix enable-modes and disable-modes to not block REPL.

If invoked from the GTK thread, this could block the REPL since `prompt` would
raise a condition.

There is probably a better fix.

jmercouris/NeXT,jmercouris/NeXT