mousetrap, interface injection, close on esc