Adding tab index to allow escape key to close the dialog

https://www.pivotaltracker.com/story/show/63138698

Adding tabindex to allow escape key to close the dialog