Fixes # 146
Added onkeydown trap of shift-tab/tab on first and last elements
in settings to keep focus in dialog until closed.