log alog all failed ajax API requests

and add a warning dialog when New Notebook fails.

closes #3085

We should probably have more dialogs for failed requests, but logging everything is at least a start.