Disables tabbing outside of window

Fixes https://github.com/billysbilling/billy-webapp/issues/516

 - Also adds close on escape