Added CSS to prevent login dialog from being too wide on large screens (desktop and tablet)
Added support for catching the esc key to go back. This may also have the effect of catching the back gesture on webOS devices.