Switching window.alert to JQuery's dialog, increasing the RPC retries, and reducing their frequency.

- window.alert -> JQuery UI Dialog
- Increased the retry count to 20
- Increased the back-off timing by an order of magnitude