Added keyboard support for paste upload dialog
Added keyboard support for paste upload dialog

Added support for <esc> and <enter> on the preview dialog for pasting images

* ESC: closes the dialog and stopping upload
* ENTER: uploads the file and closes dialog

Also focus to the chat box after closing.

M-Zuber/JabbR,M-Zuber/JabbR,SonOfSam/JabbR,ajayanandgit/JabbR,timgranstrom/JabbR,yadyn/JabbR,borisyankov/JabbR,18098924759/JabbR,ajayanandgit/JabbR,JabbR/JabbR,lukehoban/JabbR,CrankyTRex/JabbRMirror,CrankyTRex/JabbRMirror,JabbR/JabbR,SonOfSam/JabbR,CrankyTRex/JabbRMirror,lukehoban/JabbR,LookLikeAPro/JabbR,LookLikeAPro/JabbR,18098924759/JabbR,yadyn/JabbR,mzdv/JabbR,lukehoban/JabbR,timgranstrom/JabbR,yadyn/JabbR,borisyankov/JabbR,e10/JabbR,e10/JabbR,LookLikeAPro/JabbR,mzdv/JabbR,borisyankov/JabbR