Reworking the ui.dialog interface.
Specify the type via options.
Clean up the dialog code.
Extract and expose Facebook signup click method.
removes unnecessary timeout, proper type checking of onDOMLoad
Merge pull request #26 from indabamusic/dialog_updates

Reworking the ui.dialog interface.