Adds a boolean argument bottom to openDialog and openConfirm to show the dialog at the bottom of the editor rather than the top. Default behavior is to show the dialog at the top, preserving original behavior.
There was a DOM structure change a few CSS changes for the dialog. I tested on Chrome, Firefox, and IE9, and as far as I could tell it behaves the same as before.
Add an option to show dialog at the bottom.
[vim keymap] Move dialog to bottom of editor
Make dialog methods take an option object instead of a boolean parameter
See attached patch. I modified the interface because things that take a single option invariably evolve to take more, so an option object is more future-proof than a boolean parameter. Otherwise, this looks great. Merged.