let window.show(...) interupt input mode