mozilla-b2g/gaia — pull request #1758 by alivedise (2012-06-18 07:21:27+00:00)
Title: Modal dialog(custom alert/confirm/prompt) for #1632

The feature of modal dialog rev#1:
* Block the app
** If you press back button when modal dialog is shown, the dialog will disappear.
** If you press home button when modal dialog is shown, nothing happens.
* Return null when prompt type is 'prompt' and user click cancel.
* Use `event.detail.unblock();` instead of `event.unblock();` !