file dialogs

This isn't ideal.  I wonder how we should handle it.  I really want to avoid changing the Brackets code as much as possible, so we can upstream things more easily.