Handle dismiss() properly in FbDialog

This patch provides some better handling in the FbDialog class for when the user presses "back" to dismiss the popup dialog. The underlying WebView should cancel all pending requests, or else rogue progress dialogs can show up after pressing "back". Also, the dialog's listener should be informed about the cancel event.