Allow dialogs to use shortcut keys. Fixes #66.