Fix keyboard event prevention in backbone modal dialogs