Fix keyboard shortcuts not working for diff view when in dialog