Merge pull request #10079 from julienw/863466-focus-buttons

Bug 863466 - [system] focus the alert/confirm/etc dialogs so that the ke... r=benfrancis r=alive(cherry picked from commit bee87c84899f432e9ed7a434ecb552ba8f610f6b)

Conflicts:
	apps/browser/index.html